package cn.tedu.csmallproductzxj.pojo.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

@Data
public class BrandUpdateDTO implements Serializable {

    @ApiModelProperty(value = "品牌名称",required = true,example = "华为")
    @NotNull(message = "必须提交名称")
    private String name ;

    @ApiModelProperty(value = "品牌拼音",required = true,example = "pinyin")
    @NotNull(message = "必须提交拼音")
    private String pinyin;
}
